﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DisplayAllCompanies.aspx.cs" Inherits="DisplayAllCompanies" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Listi yfir öll fyrirtæki</title>
    <link href="main.css" type="text/css" rel="Stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
          <!-- Begin Wrapper -->
   <div id="wrapper">
   
         <!-- Begin Header -->
         <div id="header" 
                   style="border: medium outset #FFFFFF; background-image: none; background-color:#0000cd">			   
		     <table style="width:100%;">
                 <tr>
                     <td valign="middle" width="100">
        		        <asp:ImageButton ID="_ibmHomePage" runat="server" Height="97px" 
                            ImageAlign="Left" ImageUrl="~/Myndir/Logo_nota.JPG" Width="84px" 
                            onclick="_ibmHomePage_Click" />
                          
                     </td>
                     <td align="center" valign="middle">
                        <asp:Label ID="_lblHeaderText" runat="server"  ForeColor="White" Text="Tímaskráning.is" 
                             Font-Bold="True" Font-Size="28pt"></asp:Label>
                    </td>
                    <td width="100">
                    
                    </td>
                </tr>
             </table>
                                
		 </div>
		 <!-- End Header -->
		 
		 <!-- Begin subHeader -->
		    <div id="subHeader"
		        style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
		 
		 <table   style="width:100%;">
		    <tr>
		        <td> 
                    <asp:Image ID="_imgConfirm" runat="server" Height="24px" ImageAlign="Right" 
                    ImageUrl="~/Myndir/notaconfirm.JPG" Width="29px" />           
                    <asp:Label ID="_lblDisplayAllCompanies" runat="server"  ForeColor="White" 
                        Text="Öll fyrirtæki" Font-Bold="True"></asp:Label>    
		        </td>
            </tr>	         
        </table>		 
        </div>	

		 <!-- End subHeader -->
		 
		 <!-- Begin Left Column -->
		 <div id="leftcolumn"            
             style="border: medium outset #FFFFFF; background-color: #0000cd; background-image: none">
    		 
		     <table>
		        <tr>
		            <td>          
                        <asp:Label ID="_lblAllCompaniesDiscription" runat="server"  ForeColor="White" Text="Þau fyrirtæki sem hafa
                         verið samþykkt og eru meðlimir
                         að tímaskráning.is
                         eru hér til hliðar" Font-Bold="true"></asp:Label>    
		            </td>
                </tr>
                 <tr>
                    <td>
                    </td>                    
                 </tr>                 
                 <tr>
                    <td>               
                    </td>
                 </tr>
                 <tr>
                    <td>
                             
                    </td>
                 </tr>                     
             		 	         
             </table>
		  </div>
		 <!-- End Left Column -->
		 
		 <!-- Begin Right Column -->
		 <div id="rightcolumn">
		    <table>
		        <tr>
                    <td>
                       <asp:Label ID="_lblAllCompanies" runat="server" Text="Öll fyrirtæki"></asp:Label>           
                    </td>
                 </tr>
                  <tr>
                    <td>
                         <asp:GridView ID="_dtgAllcompanies" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" ForeColor="#333333" GridLines="None" Width="427px" 
                            onrowdeleting="_dtgAllcompanies_RowDeleting" DataKeyNames="CompanyId">
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center"/>
                            <Columns>
                                <asp:CommandField ShowDeleteButton="True"  DeleteText="Eyða"/>
                                <asp:BoundField DataField="Name" HeaderText="Fyrirtæki" />
                                <asp:BoundField DataField="NationalId" HeaderText="Kennitala" />
                                <asp:BoundField DataField="Phone" HeaderText="Sími" />
                                <asp:BoundField DataField="Email" HeaderText="Tölvupóstfang" />
                            </Columns>
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#0000cd" Font-Bold="True" ForeColor="White" />
                            <EditRowStyle BackColor="#2461BF" />
                            <AlternatingRowStyle BackColor="White" HorizontalAlign="Center"/>
                        </asp:GridView>     
                    </td>
                 </tr>	       
	          
           </table>
         </div>
		 <!-- End Right Column -->
		 
		 <!-- Begin Footer -->
		 <div id="footer" 
             style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
                <table style="width:100%;">
                 <tr>
                     <td align="center">
                        <asp:Label ID="_lblGroup10" runat="server"  ForeColor="White" Text="Hópur10 © 2008" 
                             Font-Bold="False" Font-Size="8pt"></asp:Label>
                    </td>
                </tr>
             </table>
		  </div>
		 <!-- End Footer -->
		 
   </div>
   <!-- End Wrapper -->
    
    </div>
    </form>
</body>
</html>
